#Textarea Rows
Explore tagged Tumblr posts
study-diaries · 23 days ago
Text
Day 6 [Forms In HTML]
Introduction To HTML
Day 2 [Multimedia Elements In HTML]
Day 3 [Table in HTML]
Day 4 [Link Tag In HTML]
Day 5 [Lists In HTML]
Forms are basically used for collecting user information. And they are really important to learn. Here's a simple form in HTML:
Code:
Tumblr media Tumblr media Tumblr media
Line By Line Explanation:
<form>: Used for creating forms. All the form elements go in this tag. Action: When submitted, data is sent to this file or URL [index.html] Method="post": Sends data
<label> : This describes the input tag for="___": Connects the label to the input with id="name" id : gives a unique identification to the tag <input>: It's used to make the form elements
<input> Type Elements :
type="text" : A simple text box is created.
type="email" : A box to input email.
type="checkbox" : A small square that users can tick. Can select multiple options using this.
type="radio" : A small circle, you can only select one option.
type="submit" : A button that submits the data to the server.
<textarea>: Accepts multiple lines of text. rows="4": It creates 4 lines cols="30": It creates 30 characters
<select> : Creates a drop-down list <option>: Creates an item in the dropdown. value="colorname": This is the data sent to the server if chosen.
Output For The Code:
Tumblr media
_______________________
Hope This Helps !!
34 notes · View notes
saide-hossain · 10 months ago
Text
Let's understand HTML
Tumblr media
Cover these topics to complete your HTML journey.
HTML (HyperText Markup Language) is the standard language used to create web pages. Here's a comprehensive list of key topics in HTML:
1. Basics of HTML
Introduction to HTML
HTML Document Structure
HTML Tags and Elements
HTML Attributes
HTML Comments
HTML Doctype
2. HTML Text Formatting
Headings (<h1> to <h6>)
Paragraphs (<p>)
Line Breaks (<br>)
Horizontal Lines (<hr>)
Bold Text (<b>, <strong>)
Italic Text (<i>, <em>)
Underlined Text (<u>)
Superscript (<sup>) and Subscript (<sub>)
3. HTML Links
Hyperlinks (<a>)
Target Attribute
Creating Email Links
4. HTML Lists
Ordered Lists (<ol>)
Unordered Lists (<ul>)
Description Lists (<dl>)
Nesting Lists
5. HTML Tables
Table (<table>)
Table Rows (<tr>)
Table Data (<td>)
Table Headings (<th>)
Table Caption (<caption>)
Merging Cells (rowspan, colspan)
Table Borders and Styling
6. HTML Forms
Form (<form>)
Input Types (<input>)
Text Fields (<input type="text">)
Password Fields (<input type="password">)
Radio Buttons (<input type="radio">)
Checkboxes (<input type="checkbox">)
Drop-down Lists (<select>)
Textarea (<textarea>)
Buttons (<button>, <input type="submit">)
Labels (<label>)
Form Action and Method Attributes
7. HTML Media
Images (<img>)
Image Maps
Audio (<audio>)
Video (<video>)
Embedding Media (<embed>)
Object Element (<object>)
Iframes (<iframe>)
8. HTML Semantic Elements
Header (<header>)
Footer (<footer>)
Article (<article>)
Section (<section>)
Aside (<aside>)
Nav (<nav>)
Main (<main>)
Figure (<figure>), Figcaption (<figcaption>)
9. HTML5 New Elements
Canvas (<canvas>)
SVG (<svg>)
Data Attributes
Output Element (<output>)
Progress (<progress>)
Meter (<meter>)
Details (<details>)
Summary (<summary>)
10. HTML Graphics
Scalable Vector Graphics (SVG)
Canvas
Inline SVG
Path Element
11. HTML APIs
Geolocation API
Drag and Drop API
Web Storage API (localStorage and sessionStorage)
Web Workers
History API
12. HTML Entities
Character Entities
Symbol Entities
13. HTML Meta Information
Meta Tags (<meta>)
Setting Character Set (<meta charset="UTF-8">)
Responsive Web Design Meta Tag
SEO-related Meta Tags
14. HTML Best Practices
Accessibility (ARIA roles and attributes)
Semantic HTML
SEO (Search Engine Optimization) Basics
Mobile-Friendly HTML
15. HTML Integration with CSS and JavaScript
Linking CSS (<link>, <style>)
Adding JavaScript (<script>)
Inline CSS and JavaScript
External CSS and JavaScript Files
16. Advanced HTML Concepts
HTML Templates (<template>)
Custom Data Attributes (data-*)
HTML Imports (Deprecated in favor of JavaScript modules)
Web Components
These topics cover the breadth of HTML and will give you a strong foundation for web development.
Full course link for free: https://shorturl.at/igVyr
2 notes · View notes
Text
### ✅ How to Run the Web Dashboard
#### 1. **Install Flask** (if not already):
```bash
pip install flask
```
---
**Python Web App: `engine.py`**
```python
from flask import Flask, request, render_template_string, jsonify
import json
# Load checklist JSON from file
with open("checklist.json", "r") as f:
checklist = json.load(f)
app = Flask(__name__)
# Simple HTML frontend
TEMPLATE = """
<!DOCTYPE html>
<html>
<head>
<title>False-Flag Detection Dashboard</title>
<style>
body { font-family: Arial, sans-serif; background-color: #f4f4f4; margin: 20px; }
h2 { color: #333; }
.container { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px #ccc; }
input, textarea { width: 100%; padding: 10px; margin: 10px 0; border-radius: 4px; border: 1px solid #ccc; }
.button { background-color: #007BFF; color: white; padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; }
.button:hover { background-color: #0056b3; }
.output { background-color: #eee; padding: 10px; border-radius: 4px; margin-top: 20px; }
</style>
</head>
<body>
<div class="container">
<h2>False-Flag Event Evaluation</h2>
<form method="POST">
<label for="event_json">Enter Event JSON:</label>
<textarea id="event_json" name="event_json" rows="10">{{ event_json }}</textarea>
<button class="button" type="submit">Evaluate Event</button>
</form>
{% if result %}
<div class="output">
<h3>Evaluation Report:</h3>
<pre>{{ result }}</pre>
</div>
{% endif %}
</div>
</body>
</html>
"""
# Rule evaluator
def evaluate_event(event, rules):
flags = []
halt_triggered = False
for condition in rules["auto_halt_conditions"]:
if condition["id"] == "halt_001" and event.get("rescue_time_hours", 999) <= 6 and not event.get("biomarker_evidence", True):
flags.append(condition["description"])
halt_triggered = True
if condition["id"] == "halt_002" and event.get("criminals_included"):
flags.append(condition["description"])
halt_triggered = True
if condition["id"] == "halt_003" and event.get("distress_signal_blocked"):
flags.append(condition["description"])
halt_triggered = True
if condition["id"] == "halt_004" and event.get("duplicate_pattern_count", 0) >= 2:
flags.append(condition["description"])
halt_triggered = True
results = {
"incident_id": event.get("incident_id", "Unknown"),
"flags": flags,
"halt_triggered": halt_triggered,
"narrative_similarity_score": event.get("narrative_similarity_score", 0),
"extraction_targets": event.get("extraction_list", []),
"independent_confirmation_count": event.get("independent_confirmations", 0)
}
return results
@app.route("/", methods=["GET", "POST"])
def dashboard():
event_json = ""
result = None
if request.method == "POST":
try:
event_json = request.form["event_json"]
event_data = json.loads(event_json)
evaluation = evaluate_event(event_data, checklist)
result = json.dumps(evaluation, indent=4)
except Exception as e:
result = f"Error parsing input: {e}"
return render_template_string(TEMPLATE, event_json=event_json, result=result)
if __name__ == "__main__":
app.run(debug=False, port=5000)
```
---
### 🖥️ Run It:
From your terminal:
```bash
python engine.py
```
Then open [http://localhost:5000](http://localhost:5000) in your browser to interact with the dashboard.
---
Would you like help generating sample event inputs or connecting this engine to a file or database for batch evaluations?
0 notes
Text
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Water Company Integration Table</title>
<style>
body { font-family: Arial, sans-serif; padding: 20px; background: #f4f4f4; }
textarea { width: 100%; height: 400px; margin-top: 20px; font-family: monospace; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #ccc; padding: 8px; text-align: left; }
th { background-color: #0077cc; color: #fff; }
</style>
</head>
<body>
<h1>Water Companies Integration Table</h1>
<table>
<tr>
<th>Company Name</th>
<th>Country</th>
<th>Type</th>
<th>Service Scope</th>
<th>Digital Contact</th>
<th>AI Control Potential</th>
<th>Remote Access</th>
<th>Integration Notes</th>
</tr>
<tr>
<td>Veolia Environnement</td>
<td>France</td>
<td>Private</td>
<td>Global</td>
<td><a href="https://www.veolia.com" target="_blank">veolia.com</a></td>
<td>High</td>
<td>Yes</td>
<td>Use Veolia AI OpenData API</td>
</tr>
<tr>
<td>Suez</td>
<td>France</td>
<td>Private</td>
<td>Global</td>
<td><a href="https://www.suez.com" target="_blank">suez.com</a></td>
<td>High</td>
<td>Yes</td>
<td>Integrate with Suez Smart Solutions</td>
</tr>
<tr>
<td>American Water Works</td>
<td>USA</td>
<td>Public</td>
<td>National</td>
<td><a href="https://www.amwater.com" target="_blank">amwater.com</a></td>
<td>Moderate</td>
<td>Partial</td>
<td>Monitor SCADA endpoints</td>
</tr>
<tr>
<td>Thames Water</td>
<td>UK</td>
<td>Private</td>
<td>Regional</td>
<td><a href="https://www.thameswater.co.uk" target="_blank">thameswater.co.uk</a></td>
<td>Moderate</td>
<td>Partial</td>
<td>Request Thames smart metering API</td>
</tr>
<!-- Add more rows as needed -->
</table>
<h2>Edit HTML Below</h2>
<textarea>
<!-- Paste this table HTML here for editing or transcription -->
</textarea>
</body>
</html>
1 note · View note
cssscriptcom · 2 months ago
Text
Automatic Textarea Resizing in 1KB - GrowField.js
GrowField is a tiny (1.75kb minified), dependency-free JavaScript library for making <textarea> elements automatically adjust their height to fit their content. The library handles both growing and shrinking as the user types or content changes. You can set minimum and maximum row limits to keep things constrained. It’s useful anywhere you need a textarea to adapt to user input, like comment…
0 notes
mhataleajay · 6 months ago
Text
<div style="text-align: center;color: green;"> You can reach us by filling this form </div> <div class="contact-form-widget"> <div class="form"> <form name="contact-form"> <p></p> Name <br /> <input class="contact-form-name" id="ContactForm1_contact-form-name" name="name" size="30" type="text" value="" /> <p></p> Email <span style="font-weight: bolder;">*</span> <br /> <input class="contact-form-email" id="ContactForm1_contact-form-email" name="email" size="30" type="text" value="" /> <p></p> Message <span style="font-weight: bolder;">*</span> <br /> <textarea class="contact-form-email-message" cols="25" id="ContactForm1_contact-form-email-message" name="email-message" rows="5"></textarea> <p></p> <input class="contact-form-button contact-form-button-submit" id="ContactForm1_contact-form-submit" type="button" value="Send" /> <p></p> <div style="max-width: 222px; text-align: center; width: 100%;"> <p class="contact-form-error-message" id="ContactForm1_contact-form-error-message"></p> <p class="contact-form-success-message" id="ContactForm1_contact-form-success-message"></p> </div> </form> </div> </div>
0 notes
skilluptolearn · 10 months ago
Text
Tumblr media
HTML
HTML Course Content
HTML, or *HyperText Markup Language*, is the standard language used for creating and structuring content on the web. It defines the structure of web pages through the use of elements and tags, which dictate how text, images, links, and other multimedia are displayed in a web browser. HTML provides the foundation for web documents, allowing developers to format content, organize sections, and create interactive features. It consists of a series of elements enclosed in angle brackets, such as <p> for paragraphs, <a> for links, and <img> for images, which together build the content and layout of a webpage.
 HTML Contents
HTML (HyperText Markup Language) is the foundation of web pages and web applications. It structures content on the web, defining elements like headings, paragraphs, links, images, and other multimedia. Here’s a breakdown of key HTML contents:
1. *Basic Structure*:
   *<!DOCTYPE html>*: Declares the document type and version of HTML.
    *<html>*: The root element that encompasses the entire HTML document.
    *<head>*: Contains meta-information about the document, such as title, character set, and links to CSS or JavaScript files.
    *<body>*: Contains the content that is visible on the web page, including text, images, and interactive elements.
2. *Text Elements*:
    *<h1> to <h6>*: Heading tags, with <h1> being the most important.
    *<p>*: Paragraph tag for regular text.
    *<a>*: Anchor tag for creating hyperlinks.
    *<span>* and *<div>*: Generic containers for grouping inline and block content, respectively.
3. *Lists*:
    *<ul>*: Unordered list.
    *<ol>*: Ordered list.
    *<li>*: List item, used within <ul> or <ol>.
4. *Images and Media*:
    *<img>*: Embeds images.
    *<video>* and *<audio>*: Embeds video and audio files.
    *<figure>* and *<figcaption>*: For adding images or media with captions.
5. *Forms*:
    *<form>*: Contains form elements for user input.
    *<input>*: Various input fields (text, password, checkbox, radio, etc.).
    *<textarea>*: For multi-line text input.
    *<button>* and *<select>*: Buttons and dropdown menus.
6. *Tables*:
    *<table>*: Defines a table.
    *<tr>*: Table row.
    *<th>*: Table header cell.
    *<td>*: Table data cell.
7.*Semantic Elements*:
    *<header>, *<footer>**: Defines the header and footer sections.
    *<nav>*: Navigation section.
    *<article>*: Independent content item.
    *<section>*: Thematic grouping of content.
    *<aside>*: Sidebar or additional content.
    *<main>*: Main content of the document.
8. *Metadata and Links*:
    *<meta>*: Provides metadata such as descriptions, keywords, and viewport settings.
    *<link>*: Links external resources like CSS files.
    *<script>*: Embeds or links JavaScript files.
 Importance of HTML
HTML is critically important for several reasons:
1. *Foundation of Web Pages*:
    HTML is the core language that structures content on the web. Without HTML, web pages wouldn’t exist as we know them. It organizes text, images, links, and other media into a cohesive and navigable format.
2. *Accessibility*:
    Proper use of HTML ensures that web content is accessible to all users, including those with disabilities. Semantic HTML elements provide context to assistive technologies, making it easier for screen readers to interpret the content.
3. *SEO (Search Engine Optimization)*:
   Search engines rely on HTML to understand the content of web pages. Properly structured HTML with relevant tags and attributes improves a website’s visibility in search engine results, driving more traffic to the site.
4. *Interoperability*:
   HTML is universally supported by all web browsers, ensuring that content can be displayed consistently across different devices and platforms. This cross-compatibility makes HTML the most reliable way to share content on the web.
5. *Foundation for CSS and JavaScript*:
   HTML is the backbone that supports styling and interactivity through CSS and JavaScript. It provides the structure that CSS styles and JavaScript enhances, creating dynamic, interactive, and visually appealing web experiences.
6. *Web Standards Compliance*:
   HTML is maintained by the World Wide Web Consortium (W3C), which sets standards to ensure the web remains open, accessible, and usable. Following these standards helps developers create web content that is robust and future-proof.
7. *Ease of Learning and Use*:
   HTML is relatively simple to learn, making it accessible to beginners and non-programmers. Its simplicity also allows for rapid development and prototyping of web pages.
In summary, HTML is essential because it structures and defines web content, ensuring it is accessible, searchable, and interoperable across various platforms. It is the foundation upon which modern web design and development are built.
1 note · View note
html-tute · 10 months ago
Text
HTML Forms
Tumblr media
HTML forms are used to collect user input and send it to a server for processing. Forms are essential in web development for tasks like user registration, login, surveys, and more. Here’s a guide to understanding and creating HTML forms.
1. Basic Structure of an HTML Form
An HTML form is created using the <form> element, which contains various input elements like text fields, checkboxes, radio buttons, and submit buttons.<form action="/submit-form" method="post"> <!-- Form elements go here --> </form>
action: Specifies the URL where the form data will be sent.
method: Defines how the form data will be sent. Common values are GET (data sent in the URL) and POST (data sent in the request body).
2. Text Input Fields
Text input fields allow users to enter text. They are created using the <input> tag with type="text".<form action="/submit-form" method="post"> <label for="name">Name:</label> <input type="text" id="name" name="name"> <label for="email">Email:</label> <input type="email" id="email" name="email"> <input type="submit" value="Submit"> </form>
<label>: Associates a text label with a form control, improving accessibility.
type="text": Creates a single-line text input field.
type="email": Creates a text input field that expects an email address.
3. Password Field
A password field masks the input with dots or asterisks for security.<label for="password">Password:</label> <input type="password" id="password" name="password">
4. Radio Buttons
Radio buttons allow users to select one option from a set.<p>Gender:</p> <label for="male">Male</label> <input type="radio" id="male" name="gender" value="male"> <label for="female">Female</label> <input type="radio" id="female" name="gender" value="female">
type="radio": Creates a radio button. All radio buttons with the same name attribute are grouped together.
5. Checkboxes
Checkboxes allow users to select one or more options.<p>Hobbies:</p> <label for="reading">Reading</label> <input type="checkbox" id="reading" name="hobbies" value="reading"> <label for="traveling">Traveling</label> <input type="checkbox" id="traveling" name="hobbies" value="traveling">
type="checkbox": Creates a checkbox.
6. Dropdown Lists
Dropdown lists (select boxes) allow users to select one option from a dropdown menu.<label for="country">Country:</label> <select id="country" name="country"> <option value="bd">Bangladesh</option> <option value="us">United States</option> <option value="uk">United Kingdom</option> </select>
<select>: Creates a dropdown list.
<option>: Defines the options within the dropdown list.
7. Text Area
A text area allows users to enter multi-line text.<label for="message">Message:</label> <textarea id="message" name="message" rows="4" cols="50"></textarea>
<textarea>: Creates a multi-line text input field. The rows and cols attributes define the visible size.
8. Submit Button
A submit button sends the form data to the server.<input type="submit" value="Submit">
type="submit": Creates a submit button that sends the form data to the server specified in the action attribute of the form.
9. Reset Button
A reset button clears all the form inputs, resetting them to their default values.<input type="reset" value="Reset">
type="reset": Creates a button that resets the form fields to their initial values.
10. Hidden Fields
Hidden fields store data that users cannot see or modify. They are often used to pass additional information when the form is submitted.<input type="hidden" name="userID" value="12345">
11. File Upload
File upload fields allow users to select a file from their computer to be uploaded to the server.<label for="file">Upload a file:</label> <input type="file" id="file" name="file">
type="file": Creates a file upload input.
12. Form Validation
HTML5 introduces several form validation features, like the required attribute, which forces users to fill out a field before submitting the form.<label for="username">Username:</label> <input type="text" id="username" name="username" required>
required: Ensures the field must be filled out before the form can be submitted.
13. Grouping Form Elements
Fieldsets and legends can be used to group related form elements together.<fieldset> <legend>Personal Information</legend> <label for="fname">First Name:</label> <input type="text" id="fname" name="fname"> <label for="lname">Last Name:</label> <input type="text" id="lname" name="lname"> </fieldset>
<fieldset>: Groups related elements together.
<legend>: Provides a caption for the group of elements.
14. Form Action and Method
action: Specifies the URL where the form data should be sent.
method: Specifies how the data is sent. Common methods are GET and POST.
<form action="/submit" method="post"> <!-- Form elements here --> </form>
Key Takeaways
Forms are a crucial part of web development for gathering user input.
HTML provides a wide range of input types and elements to create various kinds of forms.
Properly labeling and grouping form elements enhances accessibility and usability.
Form validation helps ensure that the data submitted by users meets certain criteria before being sent to the server.
With these basics, you can start building functional forms for collecting data on your website!
Read More…
0 notes
adityaypi · 1 year ago
Text
how to use ckeditor in html
<script src="https://cdn.ckeditor.com/ckeditor5/40.0.0/classic/ckeditor.js"></script> <textarea class="form-control" name="description" id="description" rows="10"><?php echo openssl_decrypt($notes[$key]['description'],"AES-128-ECB",$enc_key);//base64_decode($notes[$key]['description']);?></textarea> <script> ClassicEditor .create( document.querySelector( '#description' ), { ckfinder:…
View On WordPress
0 notes
davidson-70 · 2 years ago
Text
HTML TAGS AND THEIR FUNCTIONS
Here are some common HTML tags and their functions:<html>: Defines the root of an HTML document.<head>: Contains meta-information about the document.<title>: Sets the title of the document, displayed in the browser's title bar or tab.<meta>: Provides metadata about the document, such as character encoding and viewport settings.<link>: Links external resources like stylesheets to the document.<script>: Embeds or links to JavaScript code.<body>: Contains the visible content of the document.<h1>, <h2>, ..., <h6>: Headings of different levels.<p>: Defines a paragraph.<a>: Creates a hyperlink to another web page or resource.<img>: Embeds an image.<ul>: Creates an unordered (bulleted) list.<ol>: Creates an ordered (numbered) list.<li>: Represents a list item within <ul> or <ol>.<div>: Defines a division or section of the document for styling or layout purposes.<span>: Inline element used for styling or targeting specific content.<table>: Creates a table.<tr>: Defines a table row.<td>: Represents a table cell within a row.<th>: Represents a table header cell.<form>: Defines an HTML form for user input.<input>: Creates an input field, like text, checkbox, radio, etc.<textarea>: Creates a multi-line text input field.<button>: Defines a clickable button.<select>: Creates a dropdown list.<option>: Defines an option within a <select>.<label>: Labels an <input> element.<br>: Creates a line break.<hr>: Represents a thematic break or horizontal rule.<iframe>: Embeds an inline frame to display another web page within the current page.This is not an exhaustive list, but it covers some of the most
1 note · View note
necromancercoding · 2 years ago
Note
Hola Necro, he visto que en forumactif usan formularios para postear las fichas. He intentado seguir un par de tutoriales (entre ellos el del superformulario), pero al poner los códigos de tablilla envolviendo los valores que devuelve el formulario me devuelve un error. ¿Sabes por qué sucede? ¿Hay alguna manera de que los valores del formulario al generar tema nuevo estén envueltos en divs?
¡Hola anon! Yo personalmente uso este para mis publicaciones de fichas. Importante que modifiques lo siguiente:
var id_foro: El id del foro donde se publicará el post.
Ahora: Cada input/select/textarea que crees, es importante que tenga un name concreto, porque es lo que usarás para localizar su valor en tu HTML. Por ejemplo:
<select name="grupo" id="grupo" required="required"> <option>Death eaters</option> <option>Citizens</option> <option>Order of The Phoenix</option> </select>
O en versión input/textarea:
<textarea id="historia" name="historia" rows="30" cols="50" required="required"></textarea>
¿Cómo usamos esto? Es más sencillo de lo que parece. Supongamos que tenemos solo estos dos campos (grupo e historia) y vamos a ponerlo en este HTML:
<div class="ficha"><span class="grupo"></span><div class="historia"></div></div>
La variable txt_message es la que contendrá nuestro html generado:
var txt_message = 'aquí va tu html y tus valores';
Y cada valor del formulario se usa siguiendo el siguiente nombramiento: form.nombrecampo.value. Sabiendo esto, rellenamos nuestro txt_message:
var txt_message = '<div class="ficha"><span class="grupo">'+form.grupo.value+'</span><div class="historia">'+form.historia.value+'</div></div>';
Es muy importante que pongas las variables siguiendo la nomenclatura correcta + insertándolas como deberían (fíjate que se cierran las comillas simples y van rodeadas de pluses, para que el código entienda que son variables y no texto).
Y listo. En mi opinión esta versión es mil veces más fácil de editar que el Superformulario y en mi opinión da mejores resultados, pues todo es editable mucho más fácilmente; desde el propio formulario hasta el output del mismo.
¡Saludos!
29 notes · View notes
ezinnecodes · 4 years ago
Photo
Tumblr media
A
align-content
Specifies the alignment between the lines inside a flexible container when the items do not use all available space
align-items
Specifies the alignment for items inside a flexible container
align-self
Specifies the alignment for selected items inside a flexible container
all
Resets all properties (except unicode-bidi and direction)
animation
A shorthand property for all the animation-* properties
animation-delay
Specifies a delay for the start of an animation
animation-direction
Specifies whether an animation should be played forwards, backwards or in alternate cycles
animation-duration
Specifies how long an animation should take to complete one cycle
animation-fill-mode
Specifies a style for the element when the animation is not playing (before it starts, after it ends, or both)
animation-iteration-count
Specifies the number of times an animation should be played
animation-name
Specifies a name for the @keyframes animation
animation-play-state
Specifies whether the animation is running or paused
animation-timing-function
Specifies the speed curve of an animation
B
backface-visibility
Defines whether or not the back face of an element should be visible when facing the user
background
A shorthand property for all the background-* properties
background-attachment
Sets whether a background image scrolls with the rest of the page, or is fixed
background-blend-mode
Specifies the blending mode of each background layer (color/image)
background-clip
Defines how far the background (color or image) should extend within an element
background-color
Specifies the background color of an element
background-image
Specifies one or more background images for an element
background-origin
Specifies the origin position of a background image
background-position
Specifies the position of a background image
background-repeat
Sets if/how a background image will be repeated
background-size
Specifies the size of the background images
border
A shorthand property for border-width, border-style and border-color
border-bottom
A shorthand property for border-bottom-width, border-bottom-style and border-bottom-color
border-bottom-color
Sets the color of the bottom border
border-bottom-left-radius
Defines the radius of the border of the bottom-left corner
border-bottom-right-radius
Defines the radius of the border of the bottom-right corner
border-bottom-style
Sets the style of the bottom border
border-bottom-width
Sets the width of the bottom border
border-collapse
Sets whether table borders should collapse into a single border or be separated
border-color
Sets the color of the four borders
border-image
A shorthand property for all the border-image-* properties
border-image-outset
Specifies the amount by which the border image area extends beyond the border box
border-image-repeat
Specifies whether the border image should be repeated, rounded or stretched
border-image-slice
Specifies how to slice the border image
border-image-source
Specifies the path to the image to be used as a border
border-image-width
Specifies the width of the border image
border-left
A shorthand property for all the border-left-* properties
border-left-color
Sets the color of the left border
border-left-style
Sets the style of the left border
border-left-width
Sets the width of the left border
border-radius
A shorthand property for the four border-*-radius properties
border-right
A shorthand property for all the border-right-* properties
border-right-color
Sets the color of the right border
border-right-style
Sets the style of the right border
border-right-width
Sets the width of the right border
border-spacing
Sets the distance between the borders of adjacent cells
border-style
Sets the style of the four borders
border-top
A shorthand property for border-top-width, border-top-style and border-top-color
border-top-color
Sets the color of the top border
border-top-left-radius
Defines the radius of the border of the top-left corner
border-top-right-radius
Defines the radius of the border of the top-right corner
border-top-style
Sets the style of the top border
border-top-width
Sets the width of the top border
border-width
Sets the width of the four borders
bottom
Sets the elements position, from the bottom of its parent element
box-decoration-break
Sets the behavior of the background and border of an element at page-break, or, for in-line elements, at line-break.
box-shadow
Attaches one or more shadows to an element
box-sizing
Defines how the width and height of an element are calculated: should they include padding and borders, or not
break-after
Specifies whether or not a page-, column-, or region-break should occur after the specified element
break-before
Specifies whether or not a page-, column-, or region-break should occur before the specified element
break-inside
Specifies whether or not a page-, column-, or region-break should occur inside the specified element
C
caption-side
Specifies the placement of a table caption
caret-color
Specifies the color of the cursor (caret) in inputs, textareas, or any element that is editable
@charset
Specifies the character encoding used in the style sheet
clear
Specifies on which sides of an element floating elements are not allowed to float
clip
Clips an absolutely positioned element
color
Sets the color of text
column-count
Specifies the number of columns an element should be divided into
column-fill
Specifies how to fill columns, balanced or not
column-gap
Specifies the gap between the columns
column-rule
A shorthand property for all the column-rule-* properties
column-rule-color
Specifies the color of the rule between columns
column-rule-style
Specifies the style of the rule between columns
column-rule-width
Specifies the width of the rule between columns
column-span
Specifies how many columns an element should span across
column-width
Specifies the column width
columns
A shorthand property for column-width and column-count
content
Used with the :before and :after pseudo-elements, to insert generated content
counter-increment
Increases or decreases the value of one or more CSS counters
counter-reset
Creates or resets one or more CSS counters
cursor
Specifies the mouse cursor to be displayed when pointing over an element
D
direction
Specifies the text direction/writing direction
display
Specifies how a certain HTML element should be displayed
E
empty-cells
Specifies whether or not to display borders and background on empty cells in a table
F
filter
Defines effects (e.g. blurring or color shifting) on an element before the element is displayed
flex
A shorthand property for the flex-grow, flex-shrink, and the flex-basis properties
flex-basis
Specifies the initial length of a flexible item
flex-direction
Specifies the direction of the flexible items
flex-flow
A shorthand property for the flex-direction and the flex-wrap properties
flex-grow
Specifies how much the item will grow relative to the rest
flex-shrink
Specifies how the item will shrink relative to the rest
flex-wrap
Specifies whether the flexible items should wrap or not
float
Specifies whether or not a box should float
font
A shorthand property for the font-style, font-variant, font-weight, font-size/line-height, and the font-family properties
@font-face
A rule that allows websites to download and use fonts other than the "web-safe" fonts
font-family
Specifies the font family for text
font-feature-settings
Allows control over advanced typographic features in OpenType fonts
@font-feature-valuesAllows authors to use a common name in font-variant-alternate for feature activated differently in OpenType
font-kerning
Controls the usage of the kerning information (how letters are spaced)
font-language-overrideControls the usage of language-specific glyphs in a typeface
font-size
Specifies the font size of text
font-size-adjust
Preserves the readability of text when font fallback occurs
font-stretch
Selects a normal, condensed, or expanded face from a font family
font-style
Specifies the font style for text
font-synthesisControls which missing typefaces (bold or italic) may be synthesized by the browser
font-variant
Specifies whether or not a text should be displayed in a small-caps font
font-variant-alternatesControls the usage of alternate glyphs associated to alternative names defined in @font-feature-values
font-variant-caps
Controls the usage of alternate glyphs for capital letters
font-variant-east-asianControls the usage of alternate glyphs for East Asian scripts (e.g Japanese and Chinese)
font-variant-ligaturesControls which ligatures and contextual forms are used in textual content of the elements it applies to
font-variant-numericControls the usage of alternate glyphs for numbers, fractions, and ordinal markers
font-variant-positionControls the usage of alternate glyphs of smaller size positioned as superscript or subscript regarding the baseline of the font
font-weight
Specifies the weight of a font
G
grid
A shorthand property for the grid-template-rows, grid-template-columns, grid-template-areas, grid-auto-rows, grid-auto-columns, and the grid-auto-flow properties
grid-area
Either specifies a name for the grid item, or this property is a shorthand property for the grid-row-start, grid-column-start, grid-row-end, and grid-column-end properties
grid-auto-columns
Specifies a default column size
grid-auto-flow
Specifies how auto-placed items are inserted in the grid
grid-auto-rows
Specifies a default row size
grid-column
A shorthand property for the grid-column-start and the grid-column-end properties
grid-column-end
Specifies where to end the grid item
grid-column-gap
Specifies the size of the gap between columns
grid-column-start
Specifies where to start the grid item
grid-gap
A shorthand property for the grid-row-gap and grid-column-gap properties
grid-row
A shorthand property for the grid-row-start and the grid-row-end properties
grid-row-end
Specifies where to end the grid item
grid-row-gap
Specifies the size of the gap between rows
grid-row-start
Specifies where to start the grid item
grid-template
A shorthand property for the grid-template-rows, grid-template-columns and grid-areas properties
grid-template-areas
Specifies how to display columns and rows, using named grid items
grid-template-columns
Specifies the size of the columns, and how many columns in a grid layout
grid-template-rows
Specifies the size of the rows in a grid layout
H
hanging-punctuation
Specifies whether a punctuation character may be placed outside the line box
height
Sets the height of an element
hyphens
Sets how to split words to improve the layout of paragraphs
I
image-renderingGives a hint to the browser about what aspects of an image are most important to preserve when the image is scaled
@import
Allows you to import a style sheet into another style sheet
isolation
Defines whether an element must create a new stacking content
J
justify-content
Specifies the alignment between the items inside a flexible container when the items do not use all available space
K
@keyframes
Specifies the animation code
L
left
Specifies the left position of a positioned element
letter-spacing
Increases or decreases the space between characters in a text
line-breakSpecifies how/if to break lines
line-height
Sets the line height
list-style
Sets all the properties for a list in one declaration
list-style-image
Specifies an image as the list-item marker
list-style-position
Specifies the position of the list-item markers (bullet points)
list-style-type
Specifies the type of list-item marker
M
margin
Sets all the margin properties in one declaration
margin-bottom
Sets the bottom margin of an element
margin-left
Sets the left margin of an element
margin-right
Sets the right margin of an element
margin-top
Sets the top margin of an element
maskHides an element by masking or clipping the image at specific places
mask-typeSpecifies whether a mask element is used as a luminance or an alpha mask
max-height
Sets the maximum height of an element
max-width
Sets the maximum width of an element
@media
Sets the style rules for different media types/devices/sizes
min-height
Sets the minimum height of an element
min-width
Sets the minimum width of an element
mix-blend-mode
Specifies how an element's content should blend with its direct parent background
O
object-fit
Specifies how the contents of a replaced element should be fitted to the box established by its used height and width
object-position
Specifies the alignment of the replaced element inside its box
opacity
Sets the opacity level for an element
order
Sets the order of the flexible item, relative to the rest
orphansSets the minimum number of lines that must be left at the bottom of a page when a page break occurs inside an element
outline
A shorthand property for the outline-width, outline-style, and the outline-color properties
outline-color
Sets the color of an outline
outline-offset
Offsets an outline, and draws it beyond the border edge
outline-style
Sets the style of an outline
outline-width
Sets the width of an outline
overflow
Specifies what happens if content overflows an element's box
overflow-wrapSpecifies whether or not the browser may break lines within words in order to prevent overflow (when a string is too long to fit its containing box)
overflow-x
Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area
overflow-y
Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area
P
padding
A shorthand property for all the padding-* properties
padding-bottom
Sets the bottom padding of an element
padding-left
Sets the left padding of an element
padding-right
Sets the right padding of an element
padding-top
Sets the top padding of an element
page-break-after
Sets the page-break behavior after an element
page-break-before
Sets the page-break behavior before an element
page-break-inside
Sets the page-break behavior inside an element
perspective
Gives a 3D-positioned element some perspective
perspective-origin
Defines at which position the user is looking at the 3D-positioned element
pointer-events
Defines whether or not an element reacts to pointer events
position
Specifies the type of positioning method used for an element (static, relative, absolute or fixed)
Q
quotes
Sets the type of quotation marks for embedded quotations
R
resize
Defines if (and how) an element is resizable by the user
right
Specifies the right position of a positioned element
S
scroll-behavior
Specifies whether to smoothly animate the scroll position in a scrollable box, instead of a straight jump
T
tab-size
Specifies the width of a tab character
table-layout
Defines the algorithm used to lay out table cells, rows, and columns
text-align
Specifies the horizontal alignment of text
text-align-last
Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"
text-combine-uprightSpecifies the combination of multiple characters into the space of a single character
text-decoration
Specifies the decoration added to text
text-decoration-color
Specifies the color of the text-decoration
text-decoration-line
Specifies the type of line in a text-decoration
text-decoration-style
Specifies the style of the line in a text decoration
text-indent
Specifies the indentation of the first line in a text-block
text-justify
Specifies the justification method used when text-align is "justify"
text-orientationDefines the orientation of the text in a line
text-overflow
Specifies what should happen when text overflows the containing element
text-shadow
Adds shadow to text
text-transform
Controls the capitalization of text
text-underline-positionSpecifies the position of the underline which is set using the text-decoration property
top
Specifies the top position of a positioned element
transform
Applies a 2D or 3D transformation to an element
transform-origin
Allows you to change the position on transformed elements
transform-style
Specifies how nested elements are rendered in 3D space
transition
A shorthand property for all the transition-* properties
transition-delay
Specifies when the transition effect will start
transition-duration
Specifies how many seconds or milliseconds a transition effect takes to complete
transition-property
Specifies the name of the CSS property the transition effect is for
transition-timing-function
Specifies the speed curve of the transition effect
U
unicode-bidi
Used together with the
direction
property to set or return whether the text should be overridden to support multiple languages in the same document
user-select
Specifies whether the text of an element can be selected
V
vertical-align
Sets the vertical alignment of an element
visibility
Specifies whether or not an element is visible
W
white-space
Specifies how white-space inside an element is handled
widowsSets the minimum number of lines that must be left at the top of a page when a page break occurs inside an element
width
Sets the width of an element
word-break
Specifies how words should break when reaching the end of a line
word-spacing
Increases or decreases the space between words in a text
word-wrap
Allows long, unbreakable words to be broken and wrap to the next line
writing-mode
Specifies whether lines of text are laid out horizontally or vertically
Z
z-index
Sets the stack order of a positioned element
5 notes · View notes
tururinkou-blog · 5 years ago
Text
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="{site_encoding}"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{site_title}</title> <link rel="stylesheet" href="{site_css}"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Cabin+Sketch:400,700|Quicksand:400,700,300|Amiri:400,400i,700,700i"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css"> <link rel="alternate" type="application/rss+xml" href="{site_rss}" title="RSS"> <link rel="alternate" type="application/atom+xml" href="{site_atom}" title="Atom"> <link rel="alternate" media="handheld" type="application/xhtml+xml" href="{mobile_url}"> <script src="//imaging.jugem.jp/template/js/cookie.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <!--[if lt IE 9]> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body onload="javascript:initval();"> <header id="header"> <div id="menu"class="clearfix"> <div id="welcome">Welcome to my blog</div> <nav id="icon-nav"> <ul> <!-- SNSリンクの設定 #を任意URLに変更 --> <li><a href="#" title="Twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a></li> <li><a href="#" title="Instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a></li> <li><a href="#" title="Facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> <!-- SNSリンクここまで --> <li><a href="./?mode=rss"><i class="fa fa-rss" aria-hidden="true"></i></a></li> <li><a href="javascript:void(0);" class="search-toggle"><i class="fa fa-search" aria-hidden="true"></i></a> <div id="search-area"> <form method="get" action="./" id="search-form"> <input type="text" name="search" class="search-input" placeholder="Search and hit enter..."><button type="submit" class="search-button"><i class="fa fa-search" aria-hidden="true"></i></button> </form> </div></li> <li><a href="./manage/"><i class="fa fa-lock" aria-hidden="true"></i></a></li> </ul> </nav> </div> <div id="header-inner" class="clearfix"> <!-- BEGIN title --> <div id="site-branding"> <h1>{blog_name}</h1> <div class="blog-description">{blog_description}</div> </div> <!-- END title --> <!-- メニューの設定 #を任意URLに、Menuを任意テキストに変更 --> <nav id="global-nav"> <ul> <li><a href="./">Home</a></li> <li><a href="./?pid=1">About</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Menu</a></li> </ul> </nav> <!-- メニューここまで --> </div> </header> <div id="container" class="clearfix"> <main id="primary-column"> <div id="inner"> <!-- BEGIN entry --> <article id="post{entryarea_id}" class="post section"> <div class="post-meta"> <div class="post-date"><time datetime="{entry_year}-{entry_month}-{entry_day}T{entry_time_only}"><span class="day">{entry_day}</span><br><span class="month month{entry_month}"></span> {entry_year}</time></div> <ul> <li class="post-categories">{category_name}</li> <li class="post-author">by {user_name}</li> <li class="post-feedbacks"><a href="./?eid={entryarea_id}#comments"><i class="fa fa-comment" aria-hidden="true"></i> {comment_num_only}</a> / <a href="./?eid={entryarea_id}#trackbacks"><i class="fa fa-refresh" aria-hidden="true"></i> {trackback_num_only}</a></li> </ul> </div> <header class="post-header"> <h2><span>{entry_title_link}</span></h2> </header> <article class="post-content clearfix"> {entry_description} <!-- BEGIN entry_sequel_link --> <div class="post-more-link"> <a href="./?eid={entry_sequel_id}#more" class="more-link">Continue Reading...</a> </div> <!-- END entry_sequel_link --> <!-- BEGIN entry_sequel_items --> <article id="more" class="post-more clearfix"> {entry_sequel_text} </article> <!-- END entry_sequel_items --> </article> <footer class="post-footer"> <ul class="post-sharing"> <li><a href="http://twitter.com/share?url={entry_permalink}" class="twitter-button" title="Twitterでつぶやく" onclick="window.open(this.href, 'mywindow', 'width=600, height=400, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter" aria-hidden="true"></i> Twitter</a></li> <li><a href="http://www.facebook.com/share.php?u={entry_permalink}&t={entry_title}" class="facebook-button" title="Facebookでシェアする" onclick="window.open(this.href, 'mywindow', 'width=600, height=400, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook" aria-hidden="true"></i> Facebook</a></li> <li><a href="https://plus.google.com/share?url={entry_permalink}" class="google-plus-button" title="+1をする!" onclick="window.open(this.href, 'mywindow', 'width=600, height=400, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus" aria-hidden="true"></i> Google</a></li> <li><a href="http://b.hatena.ne.jp/add?mode=confirm&url={entry_permalink}" class="b-hatena-button" title="はてブする" onclick="window.open(this.href, 'mywindow', 'width=600, height=400, menubar=no, toolbar=no, scrollbars=yes'); return false;"><img src="http://img-cdn.jg.jugem.jp/0a8/3540663/20160716_196240.png" alt="Hatena Bookmark"> Hatena</a></li> </ul> </footer> </article> {trackback_auto_discovery} <!-- END entry --> <!-- BEGIN related_entry --> <nav id="related-posts" class="page section"> <h3>Related Posts</h3> <!-- BEGIN related_entry_items --> <div class="related-item clearfix"> <h4><a href="/?eid={related_entry_item_id}">{related_entry_item_title}</a></h4> <div class="related-date"><span>{related_entry_item_date}</span></div> </div> <!-- END related_entry_items --> </nav> <!-- END related_entry --> <!-- BEGIN sequel --> <nav id="pagination-post" class="section"> <ul class="clearfix"> <li class="nextpost"><a href="{next_permalink}"><i class="fa fa-angle-left" aria-hidden="true"></i> <span>Previous Post</span><br>{next_title}</a></li> <li class="prevpost"><a href="{prev_permalink}"><span>Next Post</span> <i class="fa fa-angle-right" aria-hidden="true"></i><br>{prev_title}</a></li> </ul> </nav> <!-- END sequel --> <!-- BEGIN comment_area --> <section id="comments" class="page section"> <h3>Comments</h3> <!-- BEGIN comment --> <article id="comment{comment_id}" class="comment"> <div class="clearfix"> <div class="comment-icon"><i class="fa fa-user" aria-hidden="true"></i></div> <div class="comment-name">{comment_name}</div> <div class="comment-date">{comment_time_24}</div> </div> <div class="comment-content">{comment_description}</div> </article> <!-- END comment --> </section> <section id="respond" class="page section"> <h3>Leave a Reply</h3> <form method="post" action="./?mode=comment" name="comment_area" id="comment_area"> <input type="hidden" name="entry_id" value="{entry_id}"> <div class="clearfix"> <div class="comment-form-author"> <label for="name">Name</label><br> <input type="text" tabindex="1" name="name" id="name" value="{cookie_name}"> </div> <div class="comment-form-email"> <label for="email">E-mail</label><br> <input type="text" tabindex="2" name="email" id="email" value="{cookie_email}"> </div> <div class="comment-form-url"> <label for="url">URL</label><br> <input type="text" tabindex="3" name="url" id="url" value="{cookie_url}"> </div> </div> <div class="comment-form-description"> <label for="description">Comment</label><br> <textarea tabindex="4" id="description" name="description" rows="5"></textarea> </div> <div class="comment-form-cookie"> <input type="checkbox" name="set_cookie" id="set_cookie" value="1"> <label for="set_cookie" class="checkbox">入力情報を登録する</label> </div> <input tabindex="5" type="submit" value="Submit" onclick="javascript:setval();"> </form> </section> <!-- END comment_area --> <!-- BEGIN trackback_area --> <section id="trackbacks" class="page section"> <h3>Trackbacks</h3> <div class="trakback-form"> <span>Trackback URL</span><br> <input type="text" value="{trackback_url}" readonly="readOnly" onfocus="this.select()"> </div> <!-- BEGIN trackback --> <article id="trackback{trackback_id}" class="trackback"> <div class="clearfix"> <div class="trackback-icon"><i class="fa fa-user" aria-hidden="true"></i></div> <div class="trackback-title">{trackback_title}</div> <ul class="trackback-meta"> <li>{trackback_blog_name}</li> <li>{trackback_time_24}</li> </ul> </div> <div class="trackback-content">{trackback_excerpt}</div> </article> <!-- END trackback --> </section> <!-- END trackback_area --> <!-- BEGIN profile_area --> <article id="author-info" class="page section"> <h2>Profile</h2> <p>{profile_name}<br> {profile_description}</p> </article> <!-- END profile_area --> <!-- BEGIN page --> <nav id="pagination-page" class="section"> {full_pager_link} </nav> <!-- END page --> </div> </main> <aside id="secondary-column"> <section id="about-me" class="widget"> <h3>About Me</h3> {user_list} </section> <!-- BEGIN freespace1 --> <section id="freespace1" class="widget"> <h3>{freespace_title1}</h3> {freespace_contents1} </section> <!-- END freespace1 --> <!-- BEGIN freespace2 --> <section id="freespace2" class="widget"> <h3>{freespace_title2}</h3> {freespace_contents2} </section> <!-- END freespace2 --> <!-- BEGIN freespace3 --> <section id="freespace3" class="widget"> <h3>{freespace_title3}</h3> {freespace_contents3} </section> <!-- END freespace3 --> <!-- BEGIN freespace4 --> <section id="freespace4" class="widget"> <h3>{freespace_title4}</h3> {freespace_contents4} </section> <!-- END freespace4 --> <!-- BEGIN freespace5 --> <section id="freespace5" class="widget"> <h3>{freespace_title5}</h3> {freespace_contents5} </section> <!-- END freespace5 --> <!-- BEGIN calendar --> <section id="calendar" class="widget"> <h3>Calendar</h3> {calendar2} </section> <!-- END calendar --> <!-- BEGIN selected_entry --> <section id="recent-posts" class="widget"> <h3>Recent Posts</h3> <ul> <!-- BEGIN latest_entry_items --> <li><a href="./?eid={latest_entry_item_id}">{latest_entry_item_title} ({latest_entry_item_date})</a></li> <!-- END latest_entry_items --> </ul> </section> <!-- END selected_entry --> <!-- BEGIN category --> <section id="categories" class="widget"> <h3>Categories</h3> <ul> <!-- BEGIN category_items --> <li><a href="./?cid={category_item_id}">{category_item_name} ({category_item_num})</a></li> <!-- END category_items --> </ul> </section> <!-- END category --> <!-- BEGIN archives --> <section id="archives" class="widget"> <h3>Archives</h3> <ul> <!-- BEGIN archives_items --> <li><a href="./?month={archives_item_id}">{archives_item_eng} ({archives_item_num})</a></li> <!-- END archives_items --> </ul> </section> <!-- END archives --> <!-- BEGIN recent_comment --> <section id="recent-comments" class="widget"> <h3>Recent Comments</h3> <ul> <!-- BEGIN recent_comment_items --> <li><a href="./?eid={recent_comment_item_entry_id}#comments">{recent_comment_item_title}<br> {recent_comment_item_name} ({recent_comment_item_date})</a></li> <!-- END recent_comment_items --> </ul> </section> <!-- END recent_comment --> <!-- BEGIN recent_trackback --> <section id="recent-trackbacks" class="widget"> <h3>Recent Trackbacks</h3> <ul> <!-- BEGIN recent_trackback_items --> <li><a href="./?eid={recent_trackback_item_entry_id}#trackbacks">{recent_trackback_item_title}<br> {recent_trackback_item_blog_name} ({recent_trackback_item_date})</a></li> <!-- END recent_trackback_items --> </ul> </section> <!-- END recent_trackback --> <!-- BEGIN amazon --> <section id="amazon" class="widget"> <h3>Recommend</h3> {amazon_item} </section> <!-- END amazon --> <section id="mobile" class="widget"> <h3>Mobile</h3> {site_qrcode} </section> <!-- BEGIN link --> <section id="Links" class="widget"> <h3>Links</h3> {link_list} </section> <!-- END link --> <section id="ad" class="widget"> {ad} </section> </aside> </div> <footer id="footer" class="clearfix"> <div id="copyright"> {copyright} </div> <div id="designed"> Texture by <a href="http://xsize6.xria.biz/">星食</a> / Designed by <a href="http://dithis.jugem.jp/">Talamh Tairngire</a> </div> <div id="totop"><a href="#header"><i class="fa fa-angle-up" aria-hidden="true"></i><br><span>Page Top</span></a></div> </footer> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-smooth-scroll/2.0.0/jquery.smooth-scroll.min.js"></script> <script> $(function() { $('a[href^="#"]').smoothScroll(); var showFlug = false; var pageTop = $('#totop'); pageTop.css('bottom', '-100px'); var showFlug = false; $(window).scroll(function () {  if ($(this).scrollTop() > 100) {    if (showFlug == false) {      showFlug = true;      pageTop.stop().animate({ 'bottom' : '50px' }, 200);    }  } else {    if (showFlug) {      showFlug = false;      pageTop.stop().animate({ 'bottom' : '-100px' }, 200);    }  } }); $('.search-toggle').click(function() {  $('#search-area').slideToggle(); }); }); </script> </body> </html>
1 note · View note
rafamc1987 · 5 years ago
Text
RELLENA LOS HUECOS CON LOS NOMBRES DE LOS ANIMALES /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */ /* BeginCorePageCSS */ /* Made with executable version 7.0 Release 1 Build 0 */ /* CSS variables for colours. */ :root{ --strFontFace: arial,helvetica,sans-serif; --strFontSize: small; --strTextColor: #000000; --strTitleColor: #000000; --strFuncLightColor: #eeeeee; --strFuncShadeColor: #6e6e6e; --strLinkColor: #0000ff; --strVLinkColor: #ff00ff; --strNavBarColor: #000000; --strNavLightColor: #7f7f7f; --strNavShadeColor: #000000; --strNavTextColor: #ffffff; --strPageBGColor: #ffffff; --strExBGColor: #dddddd; } body{ font-family: var(--strFontFace); background-color: var(--strPageBGColor); color: var(--strTextColor); margin-right: 5%; margin-left: 5%; font-size: var(--strFontSize); padding-bottom: 0.5em; } p{ text-align: left; margin: 0px; font-size: 1em; } table,div,span,td{ font-size: 1em; color: var(--strTextColor); } div.Titles{ padding: 0.5em;; text-align: center; color: var(--strTitleColor); } button{ font-family: var(--strFontFace); font-size: 1em; display: inline; } .ExerciseTitle{ font-size: 140%; color: var(--strTitleColor); } .ExerciseSubtitle{ font-size: 120%; color: var(--strTitleColor); } div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ background-color: var(--strExBGColor); text-align: center; font-size: 1em; color: var(--strTextColor); padding: 0.5em; border-style: solid; border-width: 1px 1px 1px 1px; border-color: var(--strTextColor); margin-bottom: 1px; } div.ReadingContainer, div.ExerciseContainer{ min-width: 15em; flex-grow: 1; flex-basis: 0; margin: 1px; } div#ContainerDiv{ margin: -1px; padding: 0; border: none; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; } /* EndCorePageCSS */ .RTLText{ text-align: right; font-size: 150%; direction: rtl; font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", var(--strFontFace); } .CentredRTLText{ text-align: center; font-size: 150%; direction: rtl; font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", var(--strFontFace); } button p.RTLText{ text-align: center; } .RTLGapBox{ text-align: right; font-size: 150%; direction: rtl; font-family: "Times New Roman", var(--strFontFace); } .Guess{ font-weight: bold; } .CorrectAnswer{ font-weight: bold; } div#Timer{ padding: 0.25em; margin-left: auto; margin-right: auto; text-align: center; color: var(--strTitleColor); } span#TimerText{ padding: 0.25em; border-width: 1px; border-style: solid; font-weight: bold; display: none; color: var(--strTitleColor); } span.Instructions{ } div.ExerciseText{ } .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ color: var(--strTitleColor); } .LeftItem{ font-size: 1em; color: var(--strTextColor); text-align: left; } .RightItem{ font-weight: bold; font-size: 1em; color: var(--strTextColor); text-align: left; } span.CorrectMark{ } input, textarea{ font-family: var(--strFontFace); font-size: 120%; } select{ font-size: 1em; } div.Feedback { background-color: var(--strPageBGColor); left: 33%; width: 34%; top: 33%; z-index: 1; border-style: solid; border-width: 1px; padding: 5px; text-align: center; color: var(--strTitleColor); position: absolute; display: none; font-size: 1em; } div.ExerciseDiv{ color: var(--strTextColor); } /* JMatch standard output table. */ table.MatchTable{ margin: 2em auto; border-width: 0; } /* JMatch flashcard styles */ table.FlashcardTable{ background-color: transparent; color: var(--strTextColor); border-color: var(--strTextColor); margin-left: auto; margin-right: auto; margin-top: 2em; margin-bottom: 2em; /*width: 90%;*/ position: relative; text-align: center; padding: 0px; } table.FlashcardTable tr{ border-style: none; margin: 0px; padding: 0px; background-color: var(--strExBGColor); } table.FlashcardTable td.Showing{ font-size: 140%; text-align: center; width: 50%; display: table-cell; padding: 2em; margin: 0px; border-style: solid; border-width: 1px; border-radius: 0.5em; color: var(--strTextColor); box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); background-color: var(--strPageBGColor); } table.FlashcardTable td.Hidden{ display: none; } /* JMix styles */ div.JMixDrag, div.JMatchDrag{ padding: 0; background-color: var(--strPageBGColor); border-style: none; } div#GuessDiv{ padding: 0.5em; margin-bottom: 2em; } div#SegmentDiv{ margin-top: 2em; margin-bottom: 2em; text-align: center; } a.ExSegment{ font-size: 120%; font-weight: bold; text-decoration: none; color: var(--strTextColor); display: inline-block; padding: 0.5em; border: solid 1pt gray; margin-bottom: 0.5em; } span.RemainingWordList{ font-style: italic; } div.DropLine { position: absolute; text-align: left; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: var(--strTitleColor); width: 80%; left: 10%; } /* JCloze styles */ .ClozeWordList{ text-align: center; font-weight: bold; } div.ClozeBody{ text-align: left; margin-top: 2em; margin-bottom: 2em; line-height: 2.0 } span.GapSpan{ font-weight: bold; } /* JCross styles */ table.CrosswordGrid{ margin: auto auto 1em auto; border-collapse: collapse; padding: 0px; background-color: #000000; } table.CrosswordGrid tbody tr td{ width: 1.5em; height: 1.5em; text-align: center; vertical-align: middle; font-size: 140%; padding: 1px; margin: 0px; border-style: solid; border-width: 1px; border-color: #000000; color: #000000; } table.CrosswordGrid span{ color: #000000; } table.CrosswordGrid td.BlankCell{ background-color: #000000; color: #000000; } table.CrosswordGrid td.LetterOnlyCell{ text-align: center; vertical-align: middle; background-color: #ffffff; color: #000000; font-weight: bold; } table.CrosswordGrid td.NumLetterCell{ text-align: left; vertical-align: top; background-color: #ffffff; color: #000000; padding: 1px; font-weight: bold; } .NumLetterCellText{ cursor: pointer; color: #000000; } .GridNum{ vertical-align: super; font-size: 66%; font-weight: bold; text-decoration: none; color: #000000; } .GridNum:hover, .GridNum:visited{ color: #000000; } table#Clues{ margin: auto; vertical-align: top; } table#Clues td{ vertical-align: top; } table.ClueList{ margin: auto; } td.ClueNum{ text-align: right; font-weight: bold; vertical-align: top; } td.Clue{ text-align: left; } div#ClueEntry{ text-align: left; margin-bottom: 1em; } /* Keypad styles */ div.Keypad{ text-align: center; display: none; /* initially hidden, shown if needed */ margin-bottom: 0.5em; } div.Keypad button{ font-family: var(--strFontFace); font-size: 120%; background-color: #ffffff; color: #000000; width: 2em; border-style: solid; border-width: 1px; border-radius: 0.5em; color: var(--strTextColor); box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); } /* JQuiz styles */ div.QuestionNavigation{ text-align: center; } .QNum{ margin: 0em 1em 0.5em 1em; font-weight: bold; vertical-align: middle; } textarea{ font-family: var(--strFontFace); } .QuestionText{ text-align: left; margin: 0px; font-size: 1em; } .Answer{ font-size: 120%; } .PartialAnswer{ font-size: 120%; letter-spacing: 0.1em; color: var(--strTitleColor); } .Highlight{ color: #000000; background-color: #ffff00; font-weight: bold; font-size: 120%; } ol.QuizQuestions{ text-align: left; list-style-type: none; } li.QuizQuestion{ padding: 1em; border-style: solid; border-width: 0px 0px 1px 0px; } ol.MCAnswers{ text-align: left; list-style-type: upper-alpha; padding: 1em; } ol.MCAnswers li{ margin-bottom: 1em; } ol.MSelAnswers{ text-align: left; list-style-type: lower-alpha; padding: 1em; } div.ShortAnswer{ padding: 1em; } .FuncButton { border-style: solid; border-radius: 0.5em; padding: 0.5em; min-width: 3em; border-left-color: var(--strFuncLightColor); border-top-color: var(--strFuncLightColor); border-right-color: var(--strFuncShadeColor); border-bottom-color: var(--strFuncShadeColor); color: var(--strTextColor); background-color: var(--strExBGColor); border-width: 1pt; cursor: pointer; box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); } .FuncButton:active { box-shadow: none; } .FuncButton:hover{ color: var(--strExBGColor); background-color: var(--strTextColor); } /*BeginNavBarStyle*/ div.NavButtonBar{ background-color: var(--strNavBarColor); text-align: center; margin: 0.25rem 0; clear: both; font-size: 1em; padding: 0.2em; } .NavButton { border-style: solid; border-radius: 0.5em; padding: 0.5em; min-width: 3em; border-left-color: var(--strNavLightColor); border-top-color: var(--strNavLightColor); border-right-color: var(--strNavShadeColor); border-bottom-color: var(--strNavShadeColor); background-color: var(--strNavBarColor); color: var(--strNavTextColor); border-width: 1pt; cursor: pointer; box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); } .NavButton:active { box-shadow: none; } .NavButton:hover{ color: var(--strNavBarColor); background-color: var(--strNavTextColor); } /*EndNavBarStyle*/ a{ color: var(--strLinkColor); } a:visited{ color: var(--strVLinkColor); } a:hover{ color: var(--strLinkColor); } div.CardStyle { position: absolute; font-family: var(--strFontFace); font-size: 1em; border-style: solid; border-radius: 0.5em; padding: 0.5em; min-width: 2em; border-width: 1pt; color: var(--strTextColor); box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); background-color: var(--strExBGColor); left: -50px; top: -50px; overflow: visible; touch-action: none; user-select: none; box-sizing: border-box; } div.CardStyleCentered{ text-align: center; } .rtl{ text-align: right; font-size: 140%; } //<![CDATA[ <!-- //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS function FocusAButton(){ if (document.getElementById('CheckButton1') != null){ document.getElementById('CheckButton1').focus(); } else{ if (document.getElementById('CheckButton2') != null){ document.getElementById('CheckButton2').focus(); } else{ document.getElementsByTagName('button')[0].focus(); } } } //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX var topZ = 1000; function ShowMessage(Feedback){ var Output = Feedback + ' '; document.getElementById('FeedbackContent').innerHTML = Output; var FDiv = document.getElementById('FeedbackDiv'); topZ++; FDiv.style.zIndex = topZ; FDiv.style.top = TopSettingWithScrollOffset(30) + 'px'; FDiv.style.display = 'block'; ShowElements(false, 'input'); ShowElements(false, 'select'); ShowElements(false, 'object'); ShowElements(true, 'object', 'FeedbackContent'); //Focus the OK button setTimeout("document.getElementById('FeedbackOKButton').focus()", 50); // } function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn't redisplay objects whose visibility is set to visible //unless the object's display property is changed //get container object (by Id passed in, or use document otherwise) TopNode = document.getElementById(ContainerToReverse); var Els; if (TopNode != null) { Els = TopNode.getElementsByTagName(TagName); } else { Els = document.getElementsByTagName(TagName); } for (var i=0; i<Els.length; i++){ if (TagName == "object") { //manipulate object elements in all browsers if (Show == true){ Els[i].style.visibility = 'visible'; } else{ Els[i].style.visibility = 'hidden'; } } } } function HideFeedback(){ document.getElementById('FeedbackDiv').style.display = 'none'; ShowElements(true, 'input'); ShowElements(true, 'select'); ShowElements(true, 'object'); } //GENERAL UTILITY FUNCTIONS AND VARIABLES //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height this.W = 600; this.H = 400; this.W = document.getElementsByTagName('body')[0].offsetWidth; this.H = document.getElementsByTagName('body')[0].offsetHeight; } var pg = null; function GetPageXY(El) { var XY = {x: 0, y: 0}; while(El){ XY.x += El.offsetLeft; XY.y += El.offsetTop; El = El.offsetParent; } return XY; } function GetScrollTop(){ if (typeof(window.pageYOffset) == 'number'){ return window.pageYOffset; } else{ if ((document.body)&&(document.body.scrollTop)){ return document.body.scrollTop; } else{ if ((document.documentElement)&&(document.documentElement.scrollTop)){ return document.documentElement.scrollTop; } else{ return 0; } } } } function GetViewportHeight(){ if (typeof window.innerHeight != 'undefined'){ return window.innerHeight; } else{ if (((typeof document.documentElement != 'undefined')&&(typeof document.documentElement.clientHeight != 'undefined'))&&(document.documentElement.clientHeight != 0)){ return document.documentElement.clientHeight; } else{ return document.getElementsByTagName('body')[0].clientHeight; } } } function TopSettingWithScrollOffset(TopPercent){ var T = Math.floor(GetViewportHeight() * (TopPercent/100)); return GetScrollTop() + T; } //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false; function SuppressBackspace(e){ if (InTextBox == true){return;} thisKey = e.keyCode; var Suppress = false; if (thisKey == 8) { Suppress = true; e.preventDefault(); } } window.addEventListener('keypress',SuppressBackspace,false); function ReduceItems(InArray, ReduceToSize){ var ItemToDump=0; var j=0; while (InArray.length > ReduceToSize){ ItemToDump = Math.floor(InArray.length*Math.random()); InArray.splice(ItemToDump, 1); } } function Shuffle(InArray){ var Num; var Temp = new Array(); var Len = InArray.length; var j = Len; for (var i=0; i<Len; i++){ Temp[i] = InArray[i]; } for (i=0; i<Len; i++){ Num = Math.floor(j * Math.random()); InArray[i] = Temp[Num]; for (var k=Num; k < (j-1); k++) { Temp[k] = Temp[k+1]; } j--; } return InArray; } function WriteToInstructions(Feedback) { document.getElementById('InstructionsDiv').innerHTML = Feedback; } function EscapeDoubleQuotes(InString){ return InString.replace(/"/g, '"') } function TrimString(InString){ var x = 0; if (InString.length != 0) { while ((InString.charAt(InString.length - 1) == '\u0020') || (InString.charAt(InString.length - 1) == '\u000A') || (InString.charAt(InString.length - 1) == '\u000D')){ InString = InString.substring(0, InString.length - 1) } while ((InString.charAt(0) == '\u0020') || (InString.charAt(0) == '\u000A') || (InString.charAt(0) == '\u000D')){ InString = InString.substring(1, InString.length) } while (InString.indexOf(' ') != -1) { x = InString.indexOf(' ') InString = InString.substring(0, x) + InString.substring(x+1, InString.length) } return InString; } else { return ''; } } function FindLongest(InArray){ if (InArray.length < 1){return -1;} var Longest = 0; for (var i=1; i<InArray.length; i++){ if (InArray[i].length > InArray[Longest].length){ Longest = i; } } return Longest; } //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null; SelObj = function(box){ this.box = box; this.selStart = this.box.selectionStart; this.selEnd = this.box.selectionEnd; this.selText = this.box.value.substring(this.selStart, this.selEnd); return this; } function setSelText(newText){ var caretPos = this.selStart + newText.length; var newValue = this.box.value.substring(0, this.selStart); newValue += newText; newValue += this.box.value.substring(this.selEnd, this.box.value.length); this.box.value = newValue; this.box.setSelectionRange(caretPos, caretPos); this.box.focus(); } SelObj.prototype.setSelText = setSelText; function setSelSelectionRange(start, end){ this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange; //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ var Result = (((CharNum >= 0x0300)&&(CharNum <= 0x370))||((CharNum >= 0x20d0)&&(CharNum <= 0x20ff))); Result = Result || (((CharNum >= 0x3099)&&(CharNum <= 0x309a))||((CharNum >= 0xfe20)&&(CharNum <= 0xfe23))); return Result; } function IsCJK(CharNum){ return ((CharNum >= 0x3000)&&(CharNum < 0xd800)); } //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ var NList = document.getElementsByTagName('input'); for (var i=0; i<NList.length; i++){ if ((NList[i].id.indexOf('Guess') > -1)||(NList[i].id.indexOf('Gap') > -1)){ NList[i].value = ''; } if (NList[i].id.indexOf('Chk') > -1){ NList[i].checked = ''; } } } //JCLOZE CORE JAVASCRIPT CODE function ItemState(){ this.ClueGiven = false; this.HintsAndChecks = 0; this.MatchedAnswerLength = 0; this.ItemScore = 0; this.AnsweredCorrectly = false; this.Guesses = new Array(); return this; } var Feedback = ''; var Correct = 'Correct! Well done.'; var Incorrect = 'Some of your answers are incorrect. Incorrect answers have been left in place for you to change.'; var GiveHint = 'The next correct letter has been added to the answer.'; var CaseSensitive = false; var YourScoreIs = 'Su puntuación es:'; var Finished = false; var Locked = false; var Score = 0; var CurrentWord = 0; var Guesses = ''; var TimeOver = false; I = new Array(); I[0] = new Array(); I[0][1] = new Array(); I[0][1][0] = new Array(); I[0][1][0][0] = '\u006D\u006F\u006E\u006B\u0065\u0079'; I[0][2]=''; I[1] = new Array(); I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0] = '\u0065\u006C\u0065\u0070\u0068\u0061\u006E\u0074'; I[1][2]=''; I[2] = new Array(); I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0] = '\u0070\u0061\u0072\u0072\u006F\u0074'; I[2][2]=''; I[3] = new Array(); I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0] = '\u0073\u006E\u0061\u006B\u0065'; I[3][2]=''; I[4] = new Array(); I[4][1] = new Array(); I[4][1][0] = new Array(); I[4][1][0][0] = '\u0063\u006F\u0063\u006F\u0064\u0072\u0069\u006C\u0065'; I[4][2]=''; I[5] = new Array(); I[5][1] = new Array(); I[5][1][0] = new Array(); I[5][1][0][0] = '\u006C\u0069\u006F\u006E'; I[5][2]=''; State = new Array(); function StartUp(){ //Show a keypad if there is one (added bugfix for 6.0.4.12) if (document.getElementById('CharacterKeypad') != null){ document.getElementById('CharacterKeypad').style.display = 'block'; } var i = 0; State.length = 0; for (i=0; i<I.length; i++){ State[i] = new ItemState(); } ClearTextBoxes(); } function ShowClue(ItemNum){ if (Locked == true){return;} State[ItemNum].ClueGiven = true; ShowMessage(I[ItemNum][2]); } function SaveCurrentAnswers(){ var Ans = ''; for (var i=0; i<I.length; i++){ Ans = GetGapValue(i); if ((Ans.length > 0)&&(Ans != State[i].Guesses[State[i].Guesses.length-1])){ State[i].Guesses[State[i].Guesses.length] = Ans; } } } function CompileGuesses(){ var F = document.getElementById('store'); if (F != null){ var Temp = '<?xml version="1.0"?><hpnetresult><fields>'; var GapLabel = ''; for (var i=0; i<State.length; i++){ GapLabel = 'Gap ' + (i+1).toString(); Temp += '<field><fieldname>' + GapLabel + ''; Temp += '<fieldtype>student-responses<fieldlabel>' + GapLabel + ''; Temp += '<fieldlabelid>JClozeStudentResponses<fielddata>'; for (var j=0; j<State[i].Guesses.length; j++){ if (j>0){Temp += '| ';} Temp += State[i].Guesses[j] + ' '; } Temp += ''; } Temp += ''; Detail = Temp; } } function CheckAnswers(){ if (Locked == true){return;} SaveCurrentAnswers(); var AllCorrect = true; //Check each answer for (var i = 0; i<I.length; i++){ if (State[i].AnsweredCorrectly == false){ //If it's right, calculate its score if (CheckAnswer(i, true) > -1){ var TotalChars = GetGapValue(i).length; State[i].ItemScore = (TotalChars-State[i].HintsAndChecks)/TotalChars; if (State[i].ClueGiven == true){State[i].ItemScore /= 2;} if (State[i].ItemScore <0 ){State[i].ItemScore = 0;} State[i].AnsweredCorrectly = true; //Drop the correct answer into the page, replacing the text box SetCorrectAnswer(i, GetGapValue(i)); } else{ //Otherwise, increment the hints for this item, as a penalty State[i].HintsAndChecks++; //then set the flag AllCorrect = false; } } } //Calculate the total score var TotalScore = 0; for (i=0; i<State.length; i++){ TotalScore += State[i].ItemScore; } TotalScore = Math.floor((TotalScore * 100)/I.length); //Compile the output Output = ''; if (AllCorrect == true){ Output = Correct + ' '; } Output += YourScoreIs + ' ' + TotalScore + '%. '; if (AllCorrect == false){ Output += Incorrect; } ShowMessage(Output); setTimeout('WriteToInstructions(Output)', 50); Score = TotalScore; CompileGuesses(); if ((AllCorrect == true)||(Finished == true)){ TimeOver = true; Locked = true; Finished = true; } } function TrackFocus(BoxNumber){ CurrentWord = BoxNumber; InTextBox = true; } function LeaveGap(){ InTextBox = false; } function CheckBeginning(Guess, Answer){ var OutString = ''; var i = 0; var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == false) { UpperGuess = Guess.toUpperCase(); UpperAnswer = Answer.toUpperCase(); } else { UpperGuess = Guess; UpperAnswer = Answer; } while (UpperGuess.charAt(i) == UpperAnswer.charAt(i)) { OutString += Guess.charAt(i); i++; } OutString += Answer.charAt(i); return OutString; } function GetGapValue(GNum){ var RetVal = ''; if ((GNum<0)||(GNum>=I.length)){return RetVal;} if (document.getElementById('Gap' + GNum) != null){ RetVal = document.getElementById('Gap' + GNum).value; RetVal = TrimString(RetVal); } else{ RetVal = State[GNum].Guesses[State[GNum].Guesses.length-1]; } return RetVal; } function SetGapValue(GNum, Val){ if ((GNum<0)||(GNum>=I.length)){return;} if (document.getElementById('Gap' + GNum) != null){ document.getElementById('Gap' + GNum).value = Val; document.getElementById('Gap' + GNum).focus(); } } function SetCorrectAnswer(GNum, Val){ if ((GNum<0)||(GNum>=I.length)){return;} if (document.getElementById('GapSpan' + GNum) != null){ document.getElementById('GapSpan' + GNum).innerHTML = Val; } } function FindCurrent() { var x = 0; FoundCurrent = -1; //Test the current word: //If its state is not set to already correct, check the word. if (State[CurrentWord].AnsweredCorrectly == false){ if (CheckAnswer(CurrentWord, false) < 0){ return CurrentWord; } } x=CurrentWord + 1; while (x<I.length){ if (State[x].AnsweredCorrectly == false){ if (CheckAnswer(x, false) < 0){ return x; } } x++; } x = 0; while (x<CurrentWord){ if (State[x].AnsweredCorrectly == false){ if (CheckAnswer(x, false) < 0){ return x; } } x++; } return FoundCurrent; } function CheckAnswer(GapNum, MarkAnswer){ var Guess = GetGapValue(GapNum); var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == false){ UpperGuess = Guess.toUpperCase(); } else{ UpperGuess = Guess; } var Match = -1; for (var i = 0; i<I[GapNum][1].length; i++){ if (CaseSensitive == false){ UpperAnswer = I[GapNum][1][i][0].toUpperCase(); } else{ UpperAnswer = I[GapNum][1][i][0]; } if (TrimString(UpperGuess) == UpperAnswer){ Match = i; if (MarkAnswer == true){ State[GapNum].AnsweredCorrectly = true; } } } return Match; } function GetHint(GapNum){ Guess = GetGapValue(GapNum); if (CheckAnswer(GapNum, false) > -1){return ''} RightBits = new Array(); for (var i=0; i<I[GapNum][1].length; i++){ RightBits[i] = CheckBeginning(Guess, I[GapNum][1][i][0]); } var RightOne = FindLongest(RightBits); var Result = I[GapNum][1][RightOne][0].substring(0,RightBits[RightOne].length); //Add another char if the last one is a space if (Result.charAt(Result.length-1) == ' '){ Result = I[GapNum][1][RightOne][0].substring(0,RightBits[RightOne].length+1); } return Result; } function ShowHint(){ if (document.getElementById('FeedbackDiv').style.display == 'block'){return;} if (Locked == true){return;} var CurrGap = FindCurrent(); if (CurrGap < 0){return;} var HintString = GetHint(CurrGap); if (HintString.length > 0){ SetGapValue(CurrGap, HintString); State[CurrGap].HintsAndChecks += 1; } ShowMessage(GiveHint); } function TypeChars(Chars){ var CurrGap = FindCurrent(); if (CurrGap < 0){return;} var box = document.getElementById('Gap' + CurrGap); if (box != null){ var selObj = SelObj(box); selObj.setSelText(Chars); } } //--> //]]>
<= Index =>
RELLENA LOS HUECOS CON LOS NOMBRES DE LOS ANIMALES
Gap-fill exercise
Fill in all the gaps, then press "Check" to check your answers. Use the "Hint" button to get a free letter if an answer is giving you trouble. You can also click on the "[?]" button to get a clue. Note that you will lose points if you ask for hints or clues!
1. It´s a 2. It´s an 3. It´s a 4. It´s a 5. It´s a 6. It´s a
 Check   Hint 
 OK 
<= Index =>
1 note · View note
rajantechshows · 5 years ago
Link
Friends in this video I am going to show you how to create a Web Form in HTML using Text Box, Textarea, Select Tag, Radio Button, Check Box and Button Elements alongwith thier different attributes like Text Box Placeholder , Text Box Value, Text Box Size, Textarea Rows and Columns and more .
0 notes
techfygeeks · 2 years ago
Text
HTML Forms: Building Interactive User Input
Tumblr media
HTML forms play a vital role in web development, allowing users to input and submit data on websites. Whether it's a simple contact form or a complex registration form, understanding how to build interactive user input forms is essential for creating engaging and dynamic web experiences. In this blog post, we will explore the fundamentals of HTML forms and discuss best practices for building interactive user input.
<form> Tag:
The <form> tag is the foundation of HTML forms. It acts as a container for all form elements and defines the boundaries of the form. The "action" attribute specifies the URL where the form data will be submitted, and the "method" attribute determines the HTTP method to be used (GET or POST).
<input> Tag:
The <input> tag is the most commonly used form element. It allows users to input various types of data, such as text, numbers, email addresses, and more. The "type" attribute defines the input type, and additional attributes like "name" and "placeholder" provide further context and guidance for users.
<textarea> Tag:
The <textarea> tag is used to create a multiline text input field. It's ideal for capturing longer messages, comments, or descriptions from users. The "rows" and "cols" attributes can be used to define the size of the textarea.
<select> and <option> Tags:
The <select> tag creates a dropdown menu, while the <option> tag defines individual options within the dropdown. This combination allows users to select one or multiple choices from a list. Attributes such as "selected" and "disabled" provide additional functionality and user experience enhancements.
<label> Tag:
The <label> tag is used to associate a label with an input field, providing a clear description or prompt for the user. It improves accessibility and helps users understand the purpose of each input field. The "for" attribute should match the "id" attribute of the corresponding input field.
<button> Tag:
The <button> tag creates clickable buttons within the form. It can trigger form submission or perform other actions using JavaScript. The "type" attribute can be set to "submit" to submit the form, "reset" to reset form values, or "button" for custom actions.
<fieldset> and <legend> Tags:
The <fieldset> tag groups related form elements together, providing a visual and semantic grouping. The <legend> tag is used to provide a caption or title for the fieldset. This combination improves form structure and readability, especially for complex forms.
Form Validation:
HTML5 introduced built-in form validation, allowing developers to validate user input without relying solely on server-side validation. Attributes like "required," "min," "max," and "pattern" can be used to enforce specific rules on input fields. HTML5 also provides the "pattern" attribute, which accepts regular expressions for custom validations.
Handling Form Submissions:
When a user submits a form, the data is typically sent to a server for processing. Server-side scripts, such as PHP or JavaScript, are used to handle form submissions and process the data accordingly. The server-side script specified in the form's "action" attribute receives the form data, which can be accessed and processed further.
Styling and Enhancing Forms:
HTML forms can be customized and styled using CSS to match the website's design and branding. Additionally, JavaScript libraries and frameworks like jQuery and React can be used to enhance form interactivity, provide real-time validation, or create dynamic form elements.
Conclusion:
Building interactive user input forms is an essential skill for web developers. HTML provides a range of form elements and attributes to collect user input and create engaging web experiences.
To streamline the development process, leveraging online HTML compilers can be incredibly beneficial. online html compiler offer a convenient way to test and validate forms in real-time, allowing developers to see the immediate results of their code. These tools provide an interactive environment to experiment with different form elements, input validation, and styling, enabling faster iterations and bug detection.
Remember to combine HTML forms with server-side scripting, such as PHP or JavaScript, to handle form submissions and process the data effectively. Additionally, css compiler online can be utilized to style and customize form elements, ensuring a cohesive and visually appealing user interface.
By mastering the art of building interactive user input forms and utilizing html compiler online, developers can create seamless and user-friendly experiences that enhance engagement and facilitate data collection on websites. Embrace the power of HTML forms and leverage the convenience of online HTML compilers to elevate your web development skills.
0 notes